package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 服务点
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_store_city")
public class FlowStoreCity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "store_city_id", type = IdType.AUTO)
    private Long storeCityId;

    @TableField("store_name")
    private String storeName;

    @TableField("longitude")
    private String longitude;

    @TableField("latitude")
    private String latitude;

    @TableField("province")
    private String province;

    @TableField("city")
    private String city;

    @TableField("address")
    private String address;

    @TableField("is_detault")
    private Integer isDetault;

    @TableField("direct")
    private  Integer direct;

    @TableField("discount")
    private  Integer discount;

    @TableField("one_authority_discount")
    private  Integer oneAuthorityDiscount;

    @TableField("one_authority_city_discount")
    private  Integer oneAuthorityCityDiscount;

    public Integer getOneAuthorityCityDiscount() {
        return oneAuthorityCityDiscount;
    }

    public void setOneAuthorityCityDiscount(Integer oneAuthorityCityDiscount) {
        this.oneAuthorityCityDiscount = oneAuthorityCityDiscount;
    }

    public Integer getOneAuthorityDiscount() {
        return oneAuthorityDiscount;
    }

    public void setOneAuthorityDiscount(Integer oneAuthorityDiscount) {
        this.oneAuthorityDiscount = oneAuthorityDiscount;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Integer getDirect() {
        return direct;
    }

    public void setDirect(Integer direct) {
        this.direct = direct;
    }

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;
    @TableField(exist = false)
      private List<FlowStoreCityNote> flowStoreCityNotes;

    public Long getStoreCityId() {
        return storeCityId;
    }

    public void setStoreCityId(Long storeCityId) {
        this.storeCityId = storeCityId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getIsDetault() {
        return isDetault;
    }

    public void setIsDetault(Integer isDetault) {
        this.isDetault = isDetault;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<FlowStoreCityNote> getFlowStoreCityNotes() {
        return flowStoreCityNotes;
    }

    public void setFlowStoreCityNotes(List<FlowStoreCityNote> flowStoreCityNotes) {
        this.flowStoreCityNotes = flowStoreCityNotes;
    }

    @Override
    public String toString() {
        return "FlowStoreCity{" +
        "storeCityId=" + storeCityId +
        ", storeName=" + storeName +
        ", longitude=" + longitude +
        ", latitude=" + latitude +
        ", province=" + province +
        ", city=" + city +
        ", address=" + address +
        ", isDetault=" + isDetault +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ",direct=" + direct +
                ",discount=" + discount +
                ",oneAuthorityDiscount=" + oneAuthorityDiscount +
                ",oneAuthorityCityDiscount=" + oneAuthorityCityDiscount+
        "}";
    }
}
